package com.crrc.yzt.demo.fragment

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.crrc.yzt.demo.blue.R
import com.crrc.yzt.demo.blue.databinding.FragmentExtraBinding


class ExtraFragment : Fragment() {



    override fun onCreateView(
        inflater: LayoutInflater, container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {

        val binding = FragmentExtraBinding.inflate(layoutInflater)

        binding.itemLayout5.setOnClickListener(ItemClick(activity,5,resources.getString(R.string.item_23)))
        binding.itemLayout6.setOnClickListener(ItemClick(activity,6,resources.getString(R.string.item_24)))
        binding.itemLayout7.setOnClickListener(ItemClick(activity,7,resources.getString(R.string.item_6)))

        return binding.root
    }

}